package com.neighbor.neighborhooduser.dao;

import com.neighbor.neighborhooduser.pojo.Messages;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户聊天消息表 Mapper 接口
 * </p>
 *
 * @author song
 * @since 2025-09-22 09:13:04
 */
public interface IMessagesDao extends BaseMapper<Messages> {
    List<Messages> selByFriend(@Param("userId") Integer userId,
                               @Param("content")String content);
}
